package com.hrbxlh.virtualization.dto;

import com.hrbxlh.virtualization.vo.CourseImageAllocationVO;
import org.springframework.beans.BeanUtils;

/**
 * @author cheer
 */
public class CourseDTO {

    /**
     * 课程Id
     */
    private Integer courseId;

    /**
     * 课程名称
     */
    private String courseName;

    /**
     * 课程图标
     */
    private String courseTitle;

    /**
     * 课程颜色
     */
    private String courseColor;

    public CourseImageAllocationVO convertToCourseImageAllocationVO() {
        CourseImageAllocationVO courseImageAllocationVO = new CourseImageAllocationVO();
        BeanUtils.copyProperties(this, courseImageAllocationVO);
        return courseImageAllocationVO;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getCourseTitle() {
        return courseTitle;
    }

    public void setCourseTitle(String courseTitle) {
        this.courseTitle = courseTitle;
    }

    public String getCourseColor() {
        return courseColor;
    }

    public void setCourseColor(String courseColor) {
        this.courseColor = courseColor;
    }

}
